package com.mindata.blockchain.block.block;

import java.util.List;

public class DGLBlock extends BaseBlock{
    private List<Block> blockList;
    private String hash;
    /**
     * 区块头
     */
    private DGLBlockHeader dglBlockHeader;
    /**
     * 区块body
     */
    private BlockBody blockBody;

    public List<Block> getBlockList() {
        return blockList;
    }

    public DGLBlock setBlockList(List<Block> blockList) {
        this.blockList = blockList;
        return this;
    }

    public String getHash() {
        return hash;
    }

    public void setHash(String hash) {
        this.hash = hash;
    }

    public DGLBlockHeader getDglBlockHeader() {
        return dglBlockHeader;
    }

    public void setDglBlockHeader(DGLBlockHeader dglBlockHeader) {
        this.dglBlockHeader = dglBlockHeader;
    }

    public BlockBody getBlockBody() {
        return blockBody;
    }

    public void setBlockBody(BlockBody blockBody) {
        this.blockBody = blockBody;
    }

}
